package com.joysuch.wwyt.attendant.bean;

import com.joysuch.wwyt.attendant.entity.AttendantPlanContent;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xsx
 * @version 1.0
 * @date 2023/2/16 11:08
 */
@Data
public class AttendantRecordAppBean {
    private Long id;
    @ApiModelProperty(value = "跟班计划id")
    private Long planId;
    @ApiModelProperty(value = "跟班计划名称")
    private String name;

    private Long areaId;
    @ApiModelProperty(value = "区域名称")
    private String areaName;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "状态")
    private String stateName;

    private Integer state;
    @ApiModelProperty(value = "跟班日期")
    private Date attendantTime;

    @ApiModelProperty(value = "内容")
    private List<AttendantPlanContent> list;

    @ApiModelProperty(value = "隐患记录")
    private List<AttendantRecordProcessBean> processBeans;

    @ApiModelProperty(value = "坐标集")
    private String coordinates;

    @ApiModelProperty(value = "签到时间")
    private Date signInTime;
    @ApiModelProperty(value = "完成时间")
    private Date finishTime;

    @ApiModelProperty(value = "签到方式 0无需签到 1定位签到")
    private Integer signInMethod;
}
